package mduel;

import java.awt.Rectangle;

public class Sprite {
	float Xpos, Ypos; 
	int Xsize, Ysize;

	public Sprite()
	{
		this(0,0, 40, 80);
	}
	
	public Sprite(float initXpos, float initYpos, int Xsize, int Ysize)
	{
		Xpos=initXpos; Ypos=initYpos; this.Xsize=Xsize; this.Ysize=Ysize;
	}
	
	public Rectangle getBoundingBox()
	{return new Rectangle((int)Xpos, (int)Ypos, Xsize, Ysize);}
}
